package com.mzkj.wanjulaile.mobile.api.modules.activeConfig.service;

import com.mzkj.wanjulaile.mobile.api.modules.activeConfig.entity.ActiveShareCoupon;
import com.mzkj.wanjulaile.mobile.api.modules.activeConfig.mapper.ActiveShareCouponMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 分享获得优惠券Service
 * @author ianly
 * @version 2017-02-13
 */
@Service
@Transactional(readOnly = true)
public class ActiveShareCouponServiceImpl implements ActiveShareCouponService {
	@Autowired
	private ActiveShareCouponMapper activeShareCouponMapper;

	public ActiveShareCoupon get(String id) {
		return activeShareCouponMapper.get(id);
	}
	
	public List<ActiveShareCoupon> findList(ActiveShareCoupon activeShareCoupon) {
		return activeShareCouponMapper.findList(activeShareCoupon);
	}

}